package com.fuluwa.domain.usercenter.model.competence;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import com.fuluwa.domain.shared.AbstractIdDomainObject;

//education->cet
@Entity
public class MaterialLevelType extends AbstractIdDomainObject{
//	private MaterialLevelType parent;
	@ManyToOne
	private MaterialSubDefine materialSubDefine;
	private String name;
	private MaterialLevelType() {
	}
	public MaterialLevelType(MaterialSubDefine materialSubDefine, String name) {
		this.materialSubDefine = materialSubDefine;
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public MaterialSubDefine getMaterialSubDefine() {
		return materialSubDefine;
	}
	
}